package com.test.kotlin05


class Player7(){

    val name:String

    private fun firstLetter() = name[0]

    init {
        name ="Jack"
        println(firstLetter())

    }


}

fun main() {
    val player7 = Player7()
}